package com.store.pet.petstore.bean;

import java.io.Serializable;
import java.util.List;

public class CommodityBean implements Serializable {


    /**
     * code : 0
     * content : {"petlist":[{"birthday":"2016-05-29","ctime":null,"description":"1111111111112222222","id":24,"img":"https://school-1256137468.cos.ap-guangzhou.myqcloud.com/bishe/pet_9231559139593062.tmp","name":"111","price":1111,"sellerid":11,"status":null,"type":1}]}
     * msg : 成功
     */

    private int code;
    private ContentBean content;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ContentBean getContent() {
        return content;
    }

    public void setContent(ContentBean content) {
        this.content = content;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ContentBean implements Serializable{
        private List<PetlistBean> petlist;

        public List<PetlistBean> getPetlist() {
            return petlist;
        }

        public void setPetlist(List<PetlistBean> petlist) {
            this.petlist = petlist;
        }

        public static class PetlistBean implements Serializable{
            /**
             * birthday : 2016-05-29
             * ctime : null
             * description : 1111111111112222222
             * id : 24
             * img : https://school-1256137468.cos.ap-guangzhou.myqcloud.com/bishe/pet_9231559139593062.tmp
             * name : 111
             * price : 1111
             * sellerid : 11
             * status : null
             * type : 1
             */

            private String birthday;
            private String ctime;
            private String description;
            private int id;
            private String img;
            private String name;
            private String price;
            private int sellerid;
            private int status;
            private int type;

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getCtime() {
                return ctime;
            }

            public void setCtime(String ctime) {
                this.ctime = ctime;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getSellerid() {
                return sellerid;
            }

            public void setSellerid(int sellerid) {
                this.sellerid = sellerid;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
